package Visitor_Pattern.School;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Client {
    public static void main(String[] args) {
        People_list list=new People_list();
        People people1,people2,people3,people4,people5;
        people1=new Student("流星",99,3);
        people2=new Student("刘禹陶",89,4);
        people3=new Student("流星逆翔",87,1);
        people4=new Teacher("abc",90,11);
        people5=new Teacher("def",89,9);
        list.addPeople(people1);
        list.addPeople(people2);
        list.addPeople(people3);
        list.addPeople(people4);
        list.addPeople(people5);
        Award_Check award_check; 
        award_check=new Number_Check();
        list.start(award_check);
        award_check=new Point_Check();
        list.start(award_check);
    }
}
